package com.itheima.shengxiao2;

public class Desk {
    // 有没有饭
    private  boolean  fan=false;
    // 今天一共要卖多少分饭
    private  int  count=10;
    //锁对象
    private final Object obj= new Object();

    public boolean isFan() {
        return fan;
    }

    public void setFan(boolean fan) {
        this.fan = fan;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Object getObj() {
        return obj;
    }
}
